Avoid building libs and bins twice in `cargo build --all-targets --release`.
authorEric Huss <eric@huss.org>
Sun, 22 Apr 2018 20:57:38 +0000 (13:57 -0700)
committerEric Huss <eric@huss.org>
Fri, 27 Apr 2018 20:42:30 +0000 (13:42 -0700)
commit195520b853049d2b3f52ddcaf449d8c4aa092531
tree5ae5a57165d73991eeeb6209a670144640c20337
parent025e23b83e6225910eda740211233731b20e6048
Avoid building libs and bins twice in `cargo build --all-targets --release`.

This changes it so that `Build` mode is not set in the Unit, since there is
no difference between Bench and Test once the profile has been selected.
src/cargo/ops/cargo_compile.rs
tests/testsuite/profile_targets.rs